package com.shopAuth.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.shopAuth.feign.Facotry.CheckAuthFacotry;

import shopBean.common.bean.RestResult;
@FeignClient(value="service-shopAuth",fallbackFactory=CheckAuthFacotry.class)
public interface CheckAuthFeign {

	@RequestMapping("/check/checkCode.api")
	public RestResult checkCode(@RequestParam(value="tel") String tel,@RequestParam(value="code") String code,@RequestParam(value="flag") Boolean flag);
}
